#include "CGame.h"

int main(int argc, char* argv[]) {
	if(CGame::pGame->Init()) {

		while(CGame::pGame->bRunning) {
			SDL_Event Event;

			while(SDL_PollEvent(&Event)) {
				CGame::pGame->Event(&Event);
			}

			CGame::pGame->Update();
			CGame::pGame->Render();

			
		}

		CGame::pGame->Quit();
	}

	return 0;
} 